﻿<!DOCTYPE html>
<html>
<head>
	<link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/normalize/2.1.0/normalize.css" type = "text/css" >
	<link rel = "stylesheet" href = "//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css" type = "text/css" >
	<link rel = "stylesheet" href = "http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" type = "text/css" >
	<link rel = "stylesheet" href = "<?php echo base_url(); ?>public/uploadify/uploadify.css" type = "text/css" >
	<script type = "text/javascript" src = "http://code.jquery.com/jquery-1.9.1.js" ></script>
	<script type = "text/javascript" src = "http://code.jquery.com/ui/1.10.3/jquery-ui.js" ></script>
	<script type = "text/javascript" src = "<?php echo base_url(); ?>public/uploadify/jquery.uploadify.min.js" ></script>
	<script type = "text/javascript">
		$(function(){
			$('.accordion').accordion({heightStyle: 'content'});
			/* $('#upload').uploadify({
				'swf': '<?= base_url() ?>public/uploadify/uploadify.swf',
				'uploader': 'employee/imageEmployee',
				'fileObjName': 'upload'
			}); */
			$('input:file').change(function(){
				$('#uploadImage').submit();
			});
		});
	</script>
</head>
<body>
	<div class = "accordion">
	<?php $this->load->view($employee); ?>
	<?php $this->load->view($blogs); ?>
	<?php $this->load->view($blogsUpload); ?>
	</div>
</body>
</html>